<?php if (!defined('DATAPATH')) exit("Request Error!");
error_reporting(E_ERROR);
require_once(dirname(__FILE__, 2) . '/res/vendor/mysql/mysql_factory.php');
require_once(dirname(__FILE__, 2) . '/tools/run.php');
require_once(DATAPATH . '/common.inc.php');
$mysql = mysql_factory::init($cfg_dbhost, $cfg_dbname,$cfg_dbuser, $cfg_dbpwd);